Home » Questions with Answer »
Mahindra Java Interview Questions With Answers
Mahindra Java
Interview Questions With Answers-2:
1) Explain about Core Java?
Java is increasingly used for middleware applications to
communicate between Server and clients. Java has features such as
multithreading, portability and networking capabilities. Changes in the java
library made java as a favorite programming language for developers it added
functionality to their scripts.
2) State some advantages of Java?
Platform independence is the key feature of Java during
runtime. Syntax of java is similar to the popular object oriented languages
such as C and C++. Java program can eliminate most of the bugs present in the
program. Manual memory allocation and de allocation feature present in Java is
automated.
3) State the main difference between C++ and Java?
The main difference between C++ and Java lies in multiple
inheritances. Java Meta class model has a better solution than C++. Persistent
objects can be implemented by features such as object serialization and
reflection mechanism. GUI can be implemented easily.
4) Explain about the security aspect of Java?
Java has some bugs in its applets. Java team stated that
they have zero tolerance over security features and subsequent editions of Java
are improving Bug free environment. Some of the features are overriding the
runtime stack, disallowing the corruption of memory outside its own process,
reading or writing on local files where it is actually forbidden to do these
processes, etc.
5) Explain about the interpreter in Java?
Machines should have Java interpreter for the Java byte code
to get executed. Linking is a very easy process and this feature helps while
developing applications. Java compiler which is available with software
development kit is a bit slower in execution of scripts.
6) Explain about the performance aspects of Core Java?
Performance of interpreted byte codes is enough but it can
be improved much more than that. Byte codes are translated into machine
language within no time, this speed of execution can be achieved during
application compiling time. JIT compilers are also present which compile the
byte codes into native code.
7) Explain about the dynamic behavior of core java?
This language was designed to adapt the changing environment
and behavior. New methods and instance variables can be added to the client
side without any major changes happening at the client end. This function is
very important for GUI builders, pluggable components, debuggers and object
database.
Explain about Java
SDK?
Java SDK is not so comfortable with people used to command
line interpreter. IDEs include compilers, editors, debugging facilities, drag
and drop techniques, etc. This compiler strives to generate hundreds of lines
in code UI. This platform may become a universal platform.
9) What are the three best choices for development
environment?
The three best choices for development environment include.
1) Java SDK and text editor can be a perfect choice.
2) Java SDK and a text editor which is built within the SDK.
3) Using IDE such as free Forte community edition.
10) Explain
about Class in Java?
In Java every thing exists within a class. It defines the
behavior of the class and its characteristics. Java applications and applets
are built in the class. Rules present for class name are generous and some of
the basic rules are names should start with a letter after that letter they can
have any combination of letters and digits. It can contain names to any length.
11) Explain about data types?
Variables declared should have a declared type. Out of the
eight data types four data types are integer, two are floating type integers,
one is character type out of which one is Boolean and the other Unicode. Core
Java is known to be a strong typed language.
12) Explain about assignment statement?
After declaring a variable, it should be initialized
explicitly. Uninitialized variable can never be used. To a declared variable
you must assign a variable name on the left, equal sign and a java expression
should have a appropriate value to the right.
13) Give the difference between the println method and sqrt
method?
Println method operates on the object system.out and has the
value which should be printed namely y. sqrt method is a static method. It does
not operate on any object. It has the number stored in x for which the square
toot should be found out.
14) Explain about strings in Java?
Strings represent nothing but a string of characters. Java
does not have any built in string type. It contains predefined class which can
be called enough as a String. Instance of a string is called as a string. Much
similar to many object oriented languages a + sign is used.
15) Explain the reason behind ending a program with a System.
exit (0)?
The reason behind ending a program with System.exit (0)
involves technicalities. When main method exits the new thread automatically
does not end. The appearance of this thread is because of dialog box
functionality. System.exit ends all the methods.
Related posts:
If you enjoyed this article, subscribe to receive more great content just like it.
Popular Posts
-
Being intimidated by beautiful women is pretty common, but there are some people who actually have a fear of beautiful women. This diagn...
Recent Stories
Connect with Facebook
Sponsors
Search
Archives
Categories
Blog Archives
-
▼
2011
(107)
-
▼
September
(41)
- Live Webcast of Kerala Chief Minister Office
- how to activate Facebook's New Timeline Feature
- Adobe is pronounced as the lack of Flash 8 in Windows
- Microsoft may be interested in buying Yahoo
- Improved Friend Lists in Facebook
- How to install Windows in dual boot with Windows 7
- Mark Zuckerberg reaches 5 million subscribers to F...
- Skype integration with Facebook on Mac
- YouTube launches a Video Edit tool
- Disable The New Blooger Lightbox Photo Viewer
- Blogger Launched Auto LightBox Effect
- Tips to Get Approved by Google AdSense Easy
- Facebook tries to reduce the number of notificatio...
- Delete All Facebook Messages At Ones
- Download And Try Out Windows 8 Developer Preview
- Samsung Galaxy Tab sale banned in Germany
- Google Buys a New .Co Domain
- Twitter is going start in Hindi Indian Language so...
- 5 Great Applications Available on Android and iOS
- Google Adsense Beginners Guides
- Boost your WIFI signal with Beer Bottle
- Mahindra Java Interview Questions With Answers Par...
- Mahindra Java Interview Questions With Answers
- Mahindra Satyam Interview Questions 1
- How to get Indexed by Yahoo! fast
- Trick to get Google AdWords Vouchers for free
- TOP 10 LCD Monitors ,Photos and Details In India
- Adobe announced the release of Flash Media Server ...
- Diamond optical mouse suits for Windows, Mac, Linux
- How to get rid of Dandruff ???
- Android's share of smartphones brought to global m...
- Doctors' six-figure salaries are the true culprit ...
- How to Negotiate Salary ???
- How to Improve Communication Skills ???
- How to become Rich ???
- Keep your favourite video as Facebook profile pict...
- About Different Types Of Blogs
- We are becoming increasingly hearing word is blogg...
- How do i move photos from one album to another in ...
- Play Online Anna Hazare Game
- How to Remove 404 URL From Google Search
-
▼
September
(41)
Recent Comments
Tag Cloud
Tech News
Featured
How To
Facts
facebook
Blogging
Google
Windows
Internet
OMG
adsense
About
Mobile
Windows 7
Windows 8
firefox
Browser
Social Networking
Interview
Mahindra Satyam
Medical
News
Thesis
Wordpress
airtel
blogger
chrome
Adobe
Coupon Code
Domain
Facial
Flash Media
Free Facebook
Mp3
Offer
Promo Code
Questions with Answer
Reliance
Salary
Skype
Top
USB
Wallpaper
Web
adwords
bookmark
convert
fan page
free
online
stylish
yahoo
404
Accurate
Albums
Allergy
Amazon
BIOS
Beauty
Beer
Benifits
Birds
Bootable
Broadband
Business
Communication
Cut
Dandruff
Diamond
Doctors
Documents
Dolphins
Download
Explorer
Facial Recognation Technology
Free Ware
FriendSheet
Fungus
GSM
Genuine
Grammer
Grandma
Hacked
Improve
Installer
Ipad
Ipad 3
Job Alerts
Junglee
Kindle Fire
Laptop
Marathon
Mark
Market
Mediastinal Seminoma
Monitors
Mouse
Mozilla
Negotiate
Nokia
Olympic Gold Medal
Power Cut
Profile Picture
RIP
Recognition
Repair
Rich
Rio
Security
Signal
SkypeIn
Smartphone
Space
Tallest Man
Tamilnadu
Temple
Theme
Tips
Treatment
Types Of Blogs
USSD
Vehicle
Videocon
WIFI
WMA
What
Women
Xp
Youngest Mother
Youtube
Zuckerberg
add more
android
anna Hazare
apple
application
audio
backup
balance
banned
birthday
blank
buying
chief minister
chromebook
cleanup
computer
customisation
delete
details
develop
disk
edit
error
extension
fax
footer
galaxy
games
giveaway
google plus
index
information
ios
join
kerala
launches
light box
mac
messange
microsoft
notifications
number
office
orbits
own
pc
pdf
photos
pigeon
pinterest
planetary
read more
regedit
registration
restore
ring2skype
rss
ryt
samsung
scan
skin
software
sound
steve jobs
subscribers
tab
teasers
timeline
tool
trick
twitter
widgetized
0 comments for this post
Leave a reply
Share me whatever in your mind. Comment is welcomed to all :) Tips: Choose Name/URL (next to the comment as:) and type your website name and URL. And you can post your comment.