- Job Role: Java Developer
- CTC : 4 LPA above (Confirm with delivery team)
- Job Location: Bangalore/Guragon
Technical Interview Main Focus (Round 1 especially)
- Project
- Java
- SQL
- JDBC
- HTML
- CSS
- JS
- Coding questions - Click here
- Angular - Click here
- Spring - Click here
Initially, there will be a assessment.
Followed by, selected candidates will have 3 rounds
- Technical Round - Teams
- Technical Round - Face 2 Face/In-person
- HR Round - Teams
- I worked on a Project Name
- describe your project:
- the userstories/modules/ responsiblites you've worked on
- technologies used: In these project, we've used Angular to develop a front end and Spring as a backend.
- dataflow (user stories/when you explain)
Java -> features, JVM/JRE/JDK, platform independent (what do you know about java, what's experience with ur java)
control statements -> for, for each, do while, while , if , if else, switch (problem solving, predict the output, error debugging)
access modifiers -> private, public, protected and default
non access modifiers -> static , final -> variable, method, class
Arrays -> declare, addding element to an array, accessing any element .length attribute, 1D array, 2D array
Strings -> immutables, string pool,
String s = "Porkodi" -> String literal String s = new String("Porkodi") -> String object
How java stores string literal and string object == vs equals String methods -> .length(), .charAt(), .substring(), toUpperCase()/toLowerCase(), .concat(), replace()
String Builder and String Buffer -> difference, threadsafe, which slower or faster
//reverse a string
String s = sc.next();
StringBuffer sb = new StringBuffer(s);
sb.reverse();
String rev_s = sb.toString();
thread -> program in execution main thread -> main method multiple threads are created to perform the task simulante
Car c = new Car()
stack
c -> 23578136487
heap -> data inside the object
OOPs -> a pie -> what is it, example, how to implement in java
functional Interface -> has only one abstract method
- DDL - CRUD
- Joins
- Aggergate functions
- GroupBy
- Orderby
Table: Employees(EmpID, EmpName, Department, ProjectName, Salary, City, Gender) Where 'EmpID' is the Primary Key
-
List the number of employees in each department
-
Select all the Employees whose Salary is between 10000 and 20000
-
Select all the employees assigned to the ProjectName starts with 'Alpha'
-
Select all records from the Employees table, sort the result alphabetically by the column City.
-
Write a SQL Query to print the total number of employees whose salary is above 10,000
-
Write a SQL Query to return the highest salary of employees in each department
-
Write a SQL Query to return the minimum salary of employees in each department
-
Write a SQL Query to print the number of employees whose salary is above 10,000"
-
Table A -> Student (sid, sname, courseid) TableB -> Course (courseid, coursename, creditpoints). write join queries
-
JDBC Driver
-
Interfaces -> Connection, statement, prepared statement, ResultSet (Callable Statement)
public List<Employee> findAllEmployeesByManagerID(int mId) {
List<Employee> eList = new ArrayList<Employee>();
try {
// insert into Employee values();
Connection con = ConnectionUtil.getConnection();
PreparedStatement stmt = con.prepareStatement(" Select * from employee where m_id = ?");
stmt.setInt(1, mId);
// set of rows -> resiult set
ResultSet rs = stmt.executeQuery();
while (rs.next()) {
// each row -> each object
Employee e = new Employee();
// in a row
// column index -> 1. e_id
e.seteId(rs.getInt(1));
// 2. e_name
e.seteName(rs.getString(2));
// 3. e_email
e.seteEmail(rs.getString(3));
// 4. e_password
e.setePassword(rs.getString(4));
// 5. m_id
e.setmId(rs.getInt(5));
eList.add(e);
}
} catch (Exception ex) {
System.err.println(ex.getMessage());
}
return eList;
}
- creates/design to web page
- Web, Web page, Web site, Web Browser, Client Server arch, HTTP
- 2 sections: body and title
- b,i,u,p
- heading tags - 6 : h1 to h6
- list: ol, ul,dd
- table
- image: src from local & online
- video: iframe put in html
- linkto other page : , href
- src, href -> attributes
- colors/styling to the page
- types: inline, internal and external
- style tag
- inline -> style as an attribute
- internal -> style tag in head section
- external ->.css,
- Element Selectors, id selectors and class selectors
- syntax:
selector-name{
property name : propertyvalue;
}
- element -> p{}, id -> #, class ->.
- attribute: bgcolor, background-image, font-, color
- Structural directive
- if its true, only that true block added to the dom and remove the false block from the dom and viceversa
Ng-if can be used as attribute like *ngIf ng-show and ng-hide can be used as hidden attribute like [hidden]
- ngshow
- angularjs directive - in angular 2+ we use as [hidden]
- [hidden] = true -> block will not be showed/ hidden
- [hidden] = false -> block will show on the ui
- Either its true or false, it will be in your dom <input type="text" placeholder="Enter a number" [(ngModel)]="num" />
<div *ngIf=" num %2 == 0; else elseBlock">
Entered Number is even
</div>
<ng-template #elseBlock>
Entered number is odd
</ng-template>
<div [hidden]=" num %2 ==0">
True will be hidden! for all even numbers it would be hidden, for odd numbers it would show
</div>