Java Tutorials

11. How Java is orgranized?

By: Niraj : 2023年04月23日

Description: Java has changed tremendously and included more features over the years. The first basic version of Java comprised of just six packages. A package is a collection of Java classes. Sun grouped six different packages with classes doing specific jobs. For example the 'java.io' package consists of all classes that do input output such as reading files, writing to files etc. where as the 'java.net' package consists of classes that do networking such as making a HTTP connection etc

(追記) (追記ここまで)

12. java.lang.reflect package

By: Riktesh Srivastava : 2023年03月25日

Description: Apart from all the classes and methods inside the java.lang package, java.lang package has a subpackage called java.lang.reflect subpackage.


13. Sending Email from Java application (using gmail)

By: Narayanan : 2023年03月23日

Description: This example uses Gmail SMTP server to send an email. Make sure to replace [email protected] and your_email_password with your actual email and password respectively. Also, replace [email protected] with the email address of the recipient.

(追記) (追記ここまで)

14. Java program to get location meta data from an image

By: Manoj : 2023年03月17日

Description: Here is the Java program to get location metadata from an image using the metadata-extractor library in Java.


15. J2EE APIs

By: Margaret : 2023年02月22日

Description: The Java 2 Platform, Standard Edition (J2SE) SDK is required to run the J2EE SDK and provides core APIs for writing J2EE components, core development tools, and the Java virtual machine. The J2EE SDK provides the following APIs to be used in J2EE applications.

(追記) (追記ここまで)

16. URLConnection sample program in Java

By: Ivan Lim : 2022年09月15日

Description: URLConnection is a general-purpose class for accessing the attributes of a remote resource. Once you make a connection to a remote server, you can use URLConnection to inspect the properties of the remote object before actually transporting it locally. These attributes are exposed by the HTTP protocol specification and, as such, only make sense for URL objects that are using the HTTP protocol. We'll examine the most useful elements of URLConnection here.


17. SequenceInputStream example program in Java

By: Reema sen : 2022年09月15日

Description: The SequenceInputStream class allows you to concatenate multiple InputStreams. The construction of a SequenceInputStream is different from any other InputStream. A SequenceInputStream constructor uses either a pair of InputStreams or an Enumeration of InputStreams as its argument:

(追記) (追記ここまで)

18. SimpleDateFormat sample program in Java

By: Norman Chap : 2022年09月15日

Description: SimpleDateFormat is a concrete subclass of DateFormat. It allows you to define your own formatting patterns that are used to display date and time information. One of its constructors is shown here:


19. What is Reflection? - getConstructors(), getFields(), and getMethods()

By: Lakshmi : 2022年09月15日

Description: Reflection is the ability of software to analyze itself. This is provided by the java.lang.reflect package and elements in Class. Reflection is an important capability, needed when using components called Java Beans. It allows you to analyze a software component and describe its capabilities dynamically, at run time rather than at compile time. For example, by using reflection, you can determine what methods, constructors, and fields a class supports.

(追記) (追記ここまで)

20. AWT-based applications with a User Interface Window in Java

By: Kamini : 2022年09月15日

Description: It is possible to create stand-alone AWT-based applications with a Window. To do this, simply create an instance of the window or windows you need inside main(). For example, the following program creates a frame window that responds to mouse clicks and keystrokes:


© 2023 Java-samples.com

Tutorial Archive: Data Science React Native Android AJAX ASP.net C C++ C# Cocoa Cloud Computing EJB Errors Java Certification Interview iPhone Javascript JSF JSP Java Beans J2ME JDBC Linux Mac OS X MySQL Perl PHP Python Ruby SAP VB.net EJB Struts Trends WebServices XML Office 365 Hibernate

Latest Tutorials on: Data Science React Native Android AJAX ASP.net C Cocoa C++ C# EJB Errors Java Certification Interview iPhone Javascript JSF JSP Java Beans J2ME JDBC Linux Mac OS X MySQL Perl PHP Python Ruby SAP VB.net EJB Struts Cloud Computing WebServices XML Office 365 Hibernate

AltStyle によって変換されたページ (->オリジナル) /