Navigation Home JAVA SOFTWARE - CORE JAVA - ADVANCE JAVA ENGINEERING - MECHANICAL - - Fluid Mechanics - - - Impact of jets - - - Hydraulic Turbines - - Metallurgy - - - Basic concepts - - - Alloys and Phase Diagrams - - - Heat treatment - - - Ferrous Materials - - - Non ferrous materials and alloys - - - Non-Metallic Materials - - - Mechanical Properties And Testing - - Theory of Machines - - - Basic concepts - - - TORSIONAL VIBRATIONS - - - Automatic Control Systems - - MANUFACTURING PROCESSES - - - CASTRING PROCESS - - - Metal Forming Processes - - - - BASIC METAL FORMING PROCESSES AND USES - - - - Forging - - - - Rolling - - - - Extrusion, Wire Drawing, Tube Drawing and Making - - - - Press Work and Die-Punch Assembly - - - MACHINING PROCESSES AND ITS APPLICATIONS - - - - Lathe - - - - Shaper - - - - Planer or Planning Machine - - - - Drilling Machines - - - - MILLING MACHINE - - - - Grinding Process - - - - Welding Process - CIVIL - ELECTRICAL - ELECTRONIS - COMPUTERS - SOFTWARES - DOT NET - UNIX - JAVA SOFTWARE - SAP SOFTWARE - - SAP MM - - - introduction - - - Role-responsibilities of MM consultant - - - T.Codes - - - Tables - - - Errors-solutions - - - Interview Questions - - SAP FICO - - SAP ABAP - - SAP SD APTITUDE G.K - Full Width - Right Sidebar - Left SIdebar English - Stars - Points - Percent - in The Top Error Page
What is the difference between a synchronized method and a synchronized block ?
In Java programming, each object has a lock.
A thread can acquire the lock for an object by using the synchronized keyword.
The synchronized keyword can be applied in a method level or block level of code.
No comments:
Post a Comment