1) What is your background programming with Java?
2) What are the Java Platform, Java Standard Edition (SE), and Java Enterprise Edition (EE)?
What will we be using in this course?
3) What issues are involved in installing the Java Standard Edition (SE) 8 Java Development Kit
(JDK)?
4) What is the PATH environment variable and how is it configured?
5) What is the CLASSPATH environment variable and how is it configured?
6) Why might using a JAVA_HOME environment variable make things easier? Do you need to
use this environment variable?
7) What are some of the important terms and concepts involved in object-oriented programming?
8) What is meant by the term inheritance with respect to object-oriented programming?
9) How is polymorphism related to inheritance?
10) What is bytecode and why is this a useful feature of Java?
11) What is a JVM and where do they exist?
12) What is the difference between a Java application and a Java applet? What is the main()
method and which one has this?
13) What are Java classes and methods and how are they related? What is the Java main method?
14) How are Java programs compiled and executed?
15) What is the JOptionPane class?
16) What it the Scanner class and how does this differ from the JOptionPane class?
17) What are the 8 Java primitive data types?
18) What is the difference between variables and constants? How are constants defined in Java?
19) Which IDE will you be using in this class and why?
Solution
1.Object oriented programming is the background for java
2.java platform are
Standard edition
Enterprise edition
Oracle standard edition 8 is currently used moreover and hence we use the same here.
3.issues during installation
4.environment variable is a string which sets them to the current environment.
In windows
5.the class path is given or set by the following command
Set CLASSPATH =path1;path3;
6.using home environment variable helps for easy update of the JDK.
7.class ,objects
Encapsulation,inheritance, polymorphism
8.inheritance is used to derive any data from base class to the derived class
9.Both polymorphism and inheritance uses the concept of super class and sub class but they
differ in just a small aspect that polymorphism is used to change the aspect of super class while
inheritance is used to develop or extent the behavior of super class
10.java programs main advantage is the byte code.Bytecode makes the java platform
independent.Java program is converted in to bytecode which can be run anywhere.
11.JVM is the java virtual machine which is a abstract computing machine that enables computer
to run java program.
12.java application is just like program that run in our computer but the java applet are runned in
the web browser and it is downloaded from the web server when it is needed.
13.java classes
Java classes consist of variable and methods.
Java method:
Java method is the set of code within a curly braces which perform a certain task.
Main method must be available in any of the classes of al.
Seal of Good Local Governance (SGLG) 2024Final.pptx
1) What is your background programming with Java2) What are the J.pdf
1. 1) What is your background programming with Java?
2) What are the Java Platform, Java Standard Edition (SE), and Java Enterprise Edition (EE)?
What will we be using in this course?
3) What issues are involved in installing the Java Standard Edition (SE) 8 Java Development Kit
(JDK)?
4) What is the PATH environment variable and how is it configured?
5) What is the CLASSPATH environment variable and how is it configured?
6) Why might using a JAVA_HOME environment variable make things easier? Do you need to
use this environment variable?
7) What are some of the important terms and concepts involved in object-oriented programming?
8) What is meant by the term inheritance with respect to object-oriented programming?
9) How is polymorphism related to inheritance?
10) What is bytecode and why is this a useful feature of Java?
11) What is a JVM and where do they exist?
12) What is the difference between a Java application and a Java applet? What is the main()
method and which one has this?
13) What are Java classes and methods and how are they related? What is the Java main method?
14) How are Java programs compiled and executed?
15) What is the JOptionPane class?
16) What it the Scanner class and how does this differ from the JOptionPane class?
17) What are the 8 Java primitive data types?
18) What is the difference between variables and constants? How are constants defined in Java?
19) Which IDE will you be using in this class and why?
Solution
1.Object oriented programming is the background for java
2.java platform are
Standard edition
Enterprise edition
Oracle standard edition 8 is currently used moreover and hence we use the same here.
3.issues during installation
4.environment variable is a string which sets them to the current environment.
In windows
5.the class path is given or set by the following command
2. Set CLASSPATH =path1;path3;
6.using home environment variable helps for easy update of the JDK.
7.class ,objects
Encapsulation,inheritance, polymorphism
8.inheritance is used to derive any data from base class to the derived class
9.Both polymorphism and inheritance uses the concept of super class and sub class but they
differ in just a small aspect that polymorphism is used to change the aspect of super class while
inheritance is used to develop or extent the behavior of super class
10.java programs main advantage is the byte code.Bytecode makes the java platform
independent.Java program is converted in to bytecode which can be run anywhere.
11.JVM is the java virtual machine which is a abstract computing machine that enables computer
to run java program.
12.java application is just like program that run in our computer but the java applet are runned in
the web browser and it is downloaded from the web server when it is needed.
13.java classes
Java classes consist of variable and methods.
Java method:
Java method is the set of code within a curly braces which perform a certain task.
Main method must be available in any of the classes of all the java program.main method is
always static
13 java program compilation
Set path where your java program .
Javac helloworld.java
Java helloworld
15.it is joptionpane used for creating a popup dialog box
16.scanner is to get any input from the user using a popup window while joptionpane class is to
inform something to the user
17.boolean
Byte
Char
Int
Short
Long
Float
Double
18.variable provides us a named storage where we can store anything the thing that changes.
3. While constant never changes from their values.
19.eclipse or netbeans are the well-known ice which can be very useful and it will be user
friendly.