Basic computer course, C programming language, Education, Engineering Course, Engineering Courses, Maths Coaching, online computer coaching, PGDCA course coaching, programming course, school computer coaching, training, Uncategorized, Web Design course

What is copy constructor in Java? tccicomputercoaching.com


Constructor in java 
is a special type of method that is used to initialise the object.

Two types of constructors in Java

1. Default constructor( No need to pass parameters)

2. parameterized constructor

Copy constructor

Copy constructor is a parameterized constructor and Copy Constructor is used to create an exact copy of an object with the same values of an existing object.

If you want to make a copy of an object while instantiating, then a copy constructor is used to achieve this. If you pass objects as function argument, it is passed as value, but since it’s a copy of reference it’s  actually pointing to the same memory and thus it becomes call by reference.

To learn more about Constructor, Other topics of Java and Programming Languages

Call us @ 9825618292

Visit us @ http://tccicomputercoaching.com/course/

 

Advertisements
Basic computer course, C programming language, Education, Engineering Course, Engineering Courses, Maths Coaching, online computer coaching, PGDCA course coaching, programming course, school computer coaching, training, Uncategorized, Web Design course

What is friend function in OOP? tccicomputercoaching.com

A friend function in OOP is a function declared as friend of a class… which means that this class in question can access the private or protected data of this other class.

Actually, private or protected data of one class can’t accessible by another class. But friend class makes this possible.

Friend function

Let us understand one example:

1. #include <iostream>

2. using namespace std;

3. class B; // forward declaration

4. class A {

5. private:

6. int data;

7. public:

8. A(): data(12){ }

9. friend int func(A , B); //friend function Declaration

10. };

11. class B {

12. private:

13. int data;

14. public:

15. B(): data(1){ }

16. friend int func(A , B); //friend function Declaration

17. };

18. int func(A d1,B d2)

19. /*Function func() is the friend function of both classes A and B. So, the private data of both class can be accessed from this function.*/

20. {

21. return (d1.data+d2.data);

22. }

23. int main()

24. {

25. A a;

26. B b;

27. cout<<“Data: “<<func(a,b);

28. return 0;

29. }

Here, we do sum of two different class private data member using friend class.

A friend function in C++ is a function which you can use to view and manipulate a class definition and an object with private permissions. A friend function prototype is declared into the class definition.

TCCI Computer coaching teach Object Oriented Programming Language like c++, Java, Python etc in Bopal and satellite in Ahmedabad.

For more information about TCCI

Call us @ 9825618292

Visit us @ http://tccicomputercoaching.com/workshop/

 

Basic computer course, C programming language, Education, Engineering Course, Engineering Courses, Maths Coaching, online computer coaching, PGDCA course coaching, programming course, school computer coaching, training, Uncategorized, Web Design course

Python Dictionaries – tccicomputercoaching.com

dictionary is a collection which is unordered, changeable and indexed. In Python dictionaries are written with curly brackets, and they have keys and values.

Let us see how to define access and display dictionary.

python dictionary

Definition:

CarDict = {

“brand”: “Ford”,

“model”: “Mustang”,

“year”: 1964

}

Here, brand, model and year are keys and ford, Mustang and 1964 are their related values…

To access or get particular data from dictionary named CarDict

x = CarDict [“model”]

print(x)

We can change a specific data by referring to its key name:

Example

CarDict [“year”]=1965

To learn more in detail about Dictionary in python

You can join TCCI in Bopal and Satellite in Ahmedabad.

Call us @ 9825618292

Visit us @ http://tccicomputercoaching.com/corporate-training/

 

Basic computer course, C programming language, Education, Engineering Course, Engineering Courses, Maths Coaching, online computer coaching, PGDCA course coaching, programming course, school computer coaching, training, Uncategorized, Web Design course

C++ – Object Oriented Language -tccicomputercoaching.com

C++ is a general-purpose programming language.

C++ contains object oriented concepts which has so many advantages. It is designed in terms of System Programming and Embedded system.

learn-c

In 1983, “C with Classes” was renamed to “C++”, adding new features that included virtual functions, function name and operator overloading, references, constants, type-safe free-store memory allocation (new/delete), improved type checking, So, We can say that c++ is an extension of C language.

We teach from basic to advance level topics in C++.

To know more in detail about C++ at TCCIclass for C++ in AhmedabadCoaching for C++ in Bopal-AhmedabadC++ at Satellite-Ahmedabad.

Call us @ 98256 18292

Visit us @http://tccicomputercoaching.com

 

Basic computer course, C programming language, Education, Engineering Course, Engineering Courses, Maths Coaching, online computer coaching, PGDCA course coaching, programming course, school computer coaching, training, Uncategorized, Web Design course

What is IP Address in Computer? tccicomputercoaching.com

The “IP” part of IP address stands for “Internet Protocol.” The “address” part refers to a unique number that gets linked to all online activity you do…somewhat like a return address on a letter you’d send out.

ip-address

An Internet Protocol address (IP address) is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. An IP address serves two principal functions: host or network interface identification and location addressing.

An IP address plays a significant role in Connecting Internet.

Your computer is hooked up to the Internet, one way or the other. When you go online for email, to shop or chat, your request has to be sent out to the right destination, and the responses and information you want need to come back directly to you.

To know more about IP Address in Computer, Join TCCI Coaching Institute.

TCCI Coaching institute is located in Bopal and Satellite in Ahmedabad. We teach all subjects of Computer, EC , EEE, Electrical , Civil and Maths Coaching at TCCI.

Call us @ 9825618292

Visit us @ http://www.tccicomputercoaching.com

 

Basic computer course, C programming language, Education, Engineering Course, Engineering Courses, Maths Coaching, online computer coaching, PGDCA course coaching, programming course, school computer coaching, training, Uncategorized, Web Design course

Bopal Microsoft office Excel course, TCCI

Excel can be a complex and confusing program to use, but this course makes it easy through effective learning method.

New Prospects Microsoft Excel training courses will allow you to produce stylish, professional spreadsheet in a highly efficient manner which is very useful in different places.

learn excel

TCCI-Tririd Computer Coaching Institute is a Gujarat (India) based Computer coaching institute at Ahmedabad. We teach Microsoft office excel in such a way to the students that they gain the skills needed to express your ideas, solve problems and connect with
people.

We include following topics in Microsoft office Excel at TCCI:

Create, save , open and add workbook

Copy, Move and rename workbook

Adding and Removing Worksheets

Entering Text, Numbers, and Dates

Entering Numbers as Text

Editing the Contents ofa Cell

Cut, Copy, and Paste

Dragging and Dropping Cells

Changing Column Widths and Row Heights

Inserting and Deleting Cells Columns and Rows

Hiding and Un-Hiding Columns and Rows

Searching and sorting Values in a Workbook

Getting Started With Basic Math Formulas

Average, Min, And Max, count

Selecting Cells for Formatting

Finding and Replacing Formats

Applying a Date Format to a Cell or Range

Using Print Titles and Print Areas

Paper Size, Orientation, Margins, and Scaling Options

Creating Headers and Footers

Chart and graph

We provide advance excel training to the Industry Employee at their place or at our institute as per their convenience. Advance Excel Training contains lots of topics with practical examples.

Course duration : Daily/4 days/3 Days/2 Days.

Class Mode : Theory with practicals.

Lecture Timing : At student’s convenience.

To learn Microsoft office excel at TCCI call us @ 98256 18292.

Visit us @ www.tccicomputercoaching.com

 

Basic computer course, C programming language, Education, Engineering Course, Engineering Courses, Maths Coaching, online computer coaching, PGDCA course coaching, programming course, school computer coaching, training, Uncategorized

C++ Coaching-tccicomputercoaching.com

C++ contains object oriented concepts which has so many advantages. It is designed in terms of System Programming and Embedded system.

Poster image of c++

Introduction to C++, Basic Syntax, Object Oriented Concept, Data Types and Variables, Constants, Literals, Modifiers, Operators, Loop Controls, Decision Making, Class Structure with Object, Function, Arrays, String, Inheritance Constructor-Destructor, Exception Handling, Files etc…..

For More details c++ coaching in Ahmedabadc++ class in satellite, Ahmedabad, c++ class in bopal, Ahmedabad, computer class in Ahmedabad, best coaching for programming in Ahmedabad

Call us @ 9825618292

Visit us @ http://tccicomputercoaching.com/