function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
srikanth j 24srikanth j 24 

Apex class class A calling From Class B

Hi guys,
I am new to coding
i have 1 requirement can anyone give me a solution for this 
create a apex class 'A'(create a method called passacc parameter type acc) insert 2 account records and pass that account to class 'B' .
in class b
i)i need to display all accounts
ii)create contact.
Advance Thanks