Menu
Examples
HTML
HTML5
CSS
CSS3
JavaScript
jQuery
AngularJS
Articles
Articles
Tech Articles
Blog
Interview Questions
Computer Science
Civil Engineering
Mechanical Engineering
ECE
EEE
QUIZ (or) MCQ
S/W (or) Computer Science
Civil Engineering
Mechanical Engineering
ECE
EEE
Programs
C Language
C++ (or) CPP
Java
Python
PHP
Competitive Exams
Current Affairs MCQ
Monthly Current Affairs MCQ
Today GK
General Knowledge
Verbal Ability
Mental Ability
UPSC
UPSC Previous Questions
UPSC 2022 Prelims Questions
UPSC 2021 Questions
UPSC 2020 Questions
UPSC 2019 Questions
S/W Tutorials
References
Practice Templates
PHP Projects
Bootstrap 3 Plugins
Bootstrap 4 Plugins
Articles
Articles
Tech Articles
Blog
Marketing Management
School Mathematics
Quadratic Equations
Prime Numbers
Factorial Numbers
Fibonacci Numbers
Code Editor
IPC Sections
Java - Interview Questions
Home
Interview Questions
Java
Can you pass the negative number as an array size?
No. You can’t pass the negative integer as an array size. If you pass, there will be no compile time error but you will get NegativeArraySizeException at run time.
Recently Updated Interview Questions in Java
ShowStAnswer: Ttus() ?
To display the message at the bottom of the browser when applet is started.
What is an Applet? Should applets have constructors?
Applets are small programs transferred through Internet, automatically installed and run as part of web-browser. Applet implements functionality of a client. Applet is a dynamic and interactive program that runs inside a Web page displayed by a Java-capable browser. We don’t have the concept of Constructors in Applets. Applets can be invoked either through browser or through Appletviewer utility provided by JDK.
what is the sequence for calling the methods by AWT for applets?
When an applet begins, the AWT calls the following methods, in this sequence:
1. init()
2. start()
3. paint()
When an applet is terminated, the following sequence of method calls takes place :
4. stop()
5. destroy()
New Technologies Interview Questions
Machine Learning
Artificial Intelligence
IOT QUIZ
Blockchain
Deep Learning
Data Science
LLM
ChatGPT
Metaverse
DevOps
Cyber Security
Ethical Hacking
HyperAutomation
Microsoft Azure
AWS
Cloud Computing
Quantum Computing
Edge Computing
Cognitive Computing
RPA
5G Network
Checkpoint
Neural Networks
Virtual Reality
Augmented Reality
Full Stack Developer
Web Services
Angular
Node JS
React JS
C-Language
CPP (or) C++
More
Advertisement