Revature Interview questions | 90 Questions with 100% Correct Answers | Updated & Verified
What is a getter/setter? What is their purpose? - Functions that modify private variables. How do you select all tables in a database? - SELECT* FROM sys.Tables or SELECT*FROMinformation_s How do you link a style sheet to an html document? - By using the link element <link rel="stylesheet" type="text/css" href="css/"> Can we overload or override static methods in java? - Yes, we can overload static methods by having the same method but with different parameters in the sub class. No, we can't override a static method because static methods are done at compile time while method overriding only occurs at runtime. What is override and overload? - Override is when you use the same method in a subclass but modify or add to it, while overload is when you use the same method in a subclass but you have a different number or type of parameters. What is an SQL trigger? - They are stored programs that are automatically executed in response to an event, such as inserting a new row in a table.
Written for
- Institution
- Revature Interview
- Course
- Revature Interview
Document information
- Uploaded on
- November 12, 2022
- Number of pages
- 16
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
revature interview questions | 90 questions with 100 correct answers | updated amp verified
Also available in package deal