What is Encapsulation?
Correct Answer: Wrapping functions and data into a single unit
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Java Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Java MCQ Questions
Correct option based upon the following sample code: public class Test { static int a; int b; public Test () { int c; c = a; a++; b += c; System.out.println ('one'); } public void Test () { int c; c = a; a++; b += c; System.out.println ('two'); } public static void main (String args[]) { Test t = new Test (); } }
Which statement is not correct with regard to threads in Java?
Which require explicit try/catch exception handling by the programmer?
Output when this code is compiled and run? public class Test { static int a; int b; public Test () { int a, b, c; a = b = c = 20; System.out.println (a); } public static void main (String args[]) { new Test (); } }
In which class is the notify method defined?
Methods that set values are called ____ methods.
Method calls cannot be distinguished by ________.
Local variables must be ________.
Javascript requires _____ programming knowledge and experience as java.
Java.util.vector is a subtype of ________.