Subscribe to Zinmag Tribune
Subscribe to Zinmag Tribune
Subscribe to Zinmag Tribune by mail

Viva Questions for Java Lab

6:10 AM Posted by techgeek
Viva Questions for Java Lab

What is Java?

Java is an object oriented programming language


Is Java invented for Internet?

No, it was developed for programming towards tiny devices



What is byte code?

It is machine understandable code and targeted for JVM (Java Virtual Machine). It is class file.


What is JVM?

Java Virtual Machine which accepts java byte code and produces result



What are java buzzwords?

Java buzzwords explain the important features of java. They are Simple,
Secured, Portable, architecture neutral, high performance, dynamic, robust, interpreted etc.


Is byte code is similar to .obj file in C?

Yes, both are machine understandable codes

No, .obj file directly understood by machine, byte code requires JVM


What is new feature in control statements comparing with C/C++?

Labeled break and labeled continue are new


What are new features in basic features comparing with C/C++?


Data types: All data types on all machines have fixed size;

Constants: final is used to declare constant

Boolean Type: boolean is new data type in Java which can store true/false

There are no structures/unions/pointers


Is String data type?

No, Strings are classes in Java (Arrays are classes)



What are length and length( ) in Java?

Both gives number of char/elements, length is variable defined in Array class, length( ) is method defined in String class

You can leave a response, or trackback from your own site.

0 Response to "Viva Questions for Java Lab"

Post a Comment

featured-video